package com.youbff.task.cluster.dto;

import java.util.Date;

/**
 * 服务器相关信息
 * @author lixuefeng
 * @email youbff@163.com
 * @time 2018年1月29日 上午10:53:10
 */
public class ServerInfoDTO extends PageParamsDTO {

    private static final long serialVersionUID = 2694268583092085737L;
    private Long m_id;
    private String m_serIp;
    private String m_port;
    private String m_serName;
    private Integer m_status;
    private Integer m_isLeader;
    private Date m_addTime;
    private Date m_updateTime;
    public Long getId() {
        return m_id;
    }
    public void setId(Long id) {
        m_id = id;
    }
    public String getSerIp() {
        return m_serIp;
    }
    public void setSerIp(String serIp) {
        m_serIp = serIp;
    }
    public String getPort() {
        return m_port;
    }
    public void setPort(String port) {
        m_port = port;
    }
    public String getSerName() {
        return m_serName;
    }
    public void setSerName(String serName) {
        m_serName = serName;
    }
    public Integer getStatus() {
        return m_status;
    }
    public void setStatus(Integer status) {
        m_status = status;
    }
    public Integer getIsLeader() {
        return m_isLeader;
    }
    public void setIsLeader(Integer isLeader) {
        m_isLeader = isLeader;
    }
    public Date getAddTime() {
        return m_addTime;
    }
    public void setAddTime(Date addTime) {
        m_addTime = addTime;
    }
    public Date getUpdateTime() {
        return m_updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        m_updateTime = updateTime;
    }
    @Override
    public String toString() {
        return "ServerInfoDTO [m_id=" + m_id + ", m_serIp=" + m_serIp
                + ", m_port=" + m_port + ", m_serName=" + m_serName
                + ", m_status=" + m_status + ", m_isLeader=" + m_isLeader
                + ", m_addTime=" + m_addTime + ", m_updateTime=" + m_updateTime
                + "]";
    }
}
